home *** CD-ROM | disk | FTP | other *** search
- ; Command file to decode Atari TeX files into portable TeX files
- ;
- ; decodes ä -> "a etc.
- ;
- ; since the double quote cannot be directly entered into a string,
- ; we must do a trick with &cat here.
- ;
- ; call it with: M-x execute-file texout.cmd
- ;
- ; -cs
- ;
- add-mode "exact"
- delete-mode "magic"
- ;
- beginning-of-file
- replace-string "ä" &cat &chr 34 "a"
- beginning-of-file
- replace-string "ö" &cat &chr 34 "o"
- beginning-of-file
- replace-string "ü" &cat &chr 34 "u"
- beginning-of-file
- replace-string "Ä" &cat &chr 34 "A"
- beginning-of-file
- replace-string "Ö" &cat &chr 34 "O"
- beginning-of-file
- replace-string "Ü" &cat &chr 34 "U"
- beginning-of-file
- replace-string "ß" &cat &chr 34 "s"
- beginning-of-file
- replace-string "§" "\S{}"
- beginning-of-file
- ;
- ; -eof-
-